package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 理想
 */
@Entity
public class Ideality implements Serializable {
    private static final long serialVersionUID = 2707922686676631434L;
    @Id(autoincrement = true)
    private Long id;
    private String title;
    private String shortTitle;

    // 成长值
    private Double growth;
    // 是否完成
    private Boolean isFinish;
    // 完成时间
    private Date finishDt;
    // 封面图片路径
    private String coverPath;

    private Integer sort;
    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 2045977150)
    public Ideality(Long id, String title, String shortTitle, Double growth,
            Boolean isFinish, Date finishDt, String coverPath, Integer sort,
            @NotNull Date createdDt, @NotNull Date updatedDt,
            @NotNull Integer status) {
        this.id = id;
        this.title = title;
        this.shortTitle = shortTitle;
        this.growth = growth;
        this.isFinish = isFinish;
        this.finishDt = finishDt;
        this.coverPath = coverPath;
        this.sort = sort;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 2037440687)
    public Ideality() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getShortTitle() {
        return this.shortTitle;
    }
    public void setShortTitle(String shortTitle) {
        this.shortTitle = shortTitle;
    }
    public Double getGrowth() {
        return this.growth;
    }
    public void setGrowth(Double growth) {
        this.growth = growth;
    }
    public Boolean getIsFinish() {
        return this.isFinish;
    }
    public void setIsFinish(Boolean isFinish) {
        this.isFinish = isFinish;
    }
    public Date getFinishDt() {
        return this.finishDt;
    }
    public void setFinishDt(Date finishDt) {
        this.finishDt = finishDt;
    }
    public String getCoverPath() {
        return this.coverPath;
    }
    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }
    public Integer getSort() {
        return this.sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }



}
